direct and inverse proportion